# 指定基础镜像
FROM java:8

# 添加一些环境配置
RUN echo "Asia/Shanghai" > /etc/timezone

# 把jar包加进来
ADD target/easydome-0.0.1-SNAPSHOT.jar app.jar

# 指定打开的端口
EXPOSE 8899

# 运行命令和参数
CMD ["java","-Xms256m","-Xmx512m","-jar","/app.jar"]